package cn.lili.modules.order.order.service;

import cn.lili.modules.order.order.entity.dos.UserFreetaxOrderYearTotal;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户免税订单年交易量 服务类
 * </p>
 *
 * @author admin
 * @since 2024-03-11
 */
public interface UserFreetaxOrderYearTotalService extends IService<UserFreetaxOrderYearTotal> {


    /**
     * 根据身份证号查询年度交易量
     */
    UserFreetaxOrderYearTotal selectUserFreeTaxTotalByIdCardNo(String buyerCardNo, Integer yearDate);

    /**
     * 保存或更新
     * @param userFree
     * @return
     */
    int updateOrSaveUserFree(UserFreetaxOrderYearTotal userFree);
}
